'use strict';
const db = uniCloud.database()
// 风采做发布时,给数据库中添加数据
exports.main = async (event, context) => {
	await db.collection('fengcaizhanshi').add(event).then(e=>{
	})
	//event为客户端上传的参数
	console.log('event : ', event)
	
	//返回数据给客户端
	return event
};
